"""
ImageTools - A library for image channel manipulation and conversion.

For usage examples, see the examples/ directory or README.md.
"""

from imagetools import __version__


def main():
    print(f"ImageTools v{__version__}")
    print("A Python library for image channel manipulation and conversion.")
    print("\nPrimary functions:")
    print("  - detect_image_type(img): Detect image type and channels")
    print("  - to_three_channel(img): Convert to 3-channel format")
    print("  - to_single_channel(img): Convert to grayscale")
    print("  - fix_channels(img, n): Fix image to have n channels (1, 3, or 4)")
    print("\nSee README.md for more details.")


if __name__ == "__main__":
    main()
